<template>
  <div>
       <!-- 面包屑封装 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="item in breadlist" :key="item">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  name: '',
  data() {
    return {
        breadlist:[]
    };
  },
  mounted() {
      this.breadlist=this.$route.meta.bread;
  },
  methods: {

  },
  computed: {},
  watch: {},
};
</script>

<style lang="scss">
</style>